package com.hp.service;

import com.hp.entity.ResourceTypeTreeVo;
import com.hp.entity.ResourcesType;
import com.hp.result.DataGridResultInfo;
import com.hp.result.SubmitResultInfo;

/**
 * 业务接口
 */
public interface ResourcesTypeService {

    public DataGridResultInfo pageresourcetype(int page, int rows, ResourcesType resourcesType) throws Exception;

    public SubmitResultInfo savetype(ResourcesType resourcesType)throws Exception;

    public ResourcesType findTypeById(String id)throws Exception;

    public SubmitResultInfo updatetype(ResourcesType resourcesType)throws Exception;

    public SubmitResultInfo deletetype(String typeid)throws Exception;

    public ResourceTypeTreeVo getResourceTypeTreeVo()throws Exception ;
}
